package com.dxy.utils;

import com.dxy.bean.User;
import com.dxy.service.CourieService;
import com.dxy.service.UserService;
import com.dxy.service.impl.CourieServiceImpl;
import com.dxy.service.impl.UserServiceImpl;

import java.util.List;

/**
 * @author DELL
 */
public class JudgeUserPhone {
    public static String getPhone(String userPhone){
        CourieService courieService = new CourieServiceImpl();
        UserService userService=new UserServiceImpl();

        String Phone;
        Phone=userService.findUserPhone(userPhone);

        return Phone;

    }
}
